using JTZY.Model.Business;

namespace JTZY.Model.Business.Dto
{
    /// <summary>
    /// 代理商表查询对象
    /// </summary>
    public class CorecmsagentQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 代理商表输入输出对象
    /// </summary>
    public class CorecmsagentDto
    {
        [Required(ErrorMessage = "序列不能为空")]
        public int Id { get; set; }

        [Required(ErrorMessage = "用户Id不能为空")]
        public int UserId { get; set; }

        public string Name { get; set; }

        [Required(ErrorMessage = "代理商等级不能为空")]
        public int GradeId { get; set; }

        public string Mobile { get; set; }

        public string Weixin { get; set; }

        public string Qq { get; set; }

        public string StoreName { get; set; }

        public string StoreLogo { get; set; }

        public string StoreBanner { get; set; }

        public string StoreDesc { get; set; }

        [Required(ErrorMessage = "审核状态不能为空")]
        public int VerifyStatus { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }

        public DateTime? VerifyTime { get; set; }

        [Required(ErrorMessage = "是否删除不能为空")]
        public bool IsDelete { get; set; }


        public CorecmsagentgradeDto CorecmsagentgradeNav { get; set; }

        [ExcelColumn(Name = "审核状态")]
        public string VerifyStatusLabel { get; set; }
    }
}